package com.ouyy.volunteerservice.volunteer.utils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseResult {

    private boolean success;  // 操作是否成功
    private String message;   // 错误信息
    private Object data;      // 返回数据

    public ResponseResult(boolean success, String message) {
        this.success = success;
        this.message = message;
    }
}